import instance from "../http/index.js";

// 获取表格数据
export const getTableData = (params = {}) =>{
  return instance({
    url:'/api/v1/journal/search',
    method:'GET',
    params
  })
}

// //通过搜索框数据搜索期刊
export const searchTableData = (searchname)=> {
  return instance({
    url:'api/v1/journal/2325-7237/comment',
    method:'GET',
   data:{
    searchname
   }
  })
}


